<?php (!defined('IN_SYSTEM') || !defined('ADMIN_PRE')) && exit('Access Denied!');?>
{admintemplate header}
<div class="box">
 <div class="heading">
	<h1>
	<script type="text/javascript">
	var hour = (new Date()).getHours();
		if (hour < 4) {
			hello = "夜深了，";
		} else if (hour < 7) {
			hello = "早安，";
		} else if (hour < 9) {
			hello = "早上好，"; 
		} else if (hour < 12) {
			hello = "上午好，";
		} else if (hour < 14) {
			hello = "中午好，";
		} else if (hour < 17) {
			hello = "下午好，";
		} else if (hour < 19) {
			hello = "您好，";
		} else if (hour < 22) {
			hello = "晚上好，";
		} else {
			hello = "夜深了，";
		}
		document.write(hello);
	</script>{$_G['username']}，你的级别是：{$_G['usergroup']['groupname']}
	</h1>
 </div>
	<div class="main">	
	{if ican('sysview')}
	<table class="sub">
		<tr>
			<th colspan="2">站点统计</th>
		</tr>
		<tr>
			<td width="250">日志统计：</td>
			<td>{$arccount}</td>
		</tr>
		<tr>
			<td>评论统计：</td>
			<td>{$cmtcount}</td>
		</tr>
		<tr>
			<td>附件大小：</td>
			<td>{$statistics['attach_size']}</td>
		</tr>
		<tr>
			<td>数据库大小：</td>
			<td>{$statistics['db_size']}</td>
		</tr>
		<tr>
			<th colspan="2">系统信息</th>
		</tr>
		<tr>
			<td>服务器解析引擎：</td>
			<td>{$statistics['server']}</td>
		</tr>
		<tr>
			<td>MySQL版本：</td>
			<td>{$statistics['mysql']}</td>
		</tr>
		<tr>
			<td>文件上传：</td>
			<td>{$file_upload}</td>
		</tr>
		<tr>
			<td>全局变量 register_globals：</td>
			<td>{$register_globals}</td>
		</tr>
		<tr>
			<td>图形处理 GD Library：</td>
			<td>{$gd_version}</td>
		</tr>
	</table>
	{/if}
    </div>
</div>
{admintemplate footer}